package com.dtw.ditouwang.beans;

import java.util.List;

public class NotifyBean {

    /**
     * flag : Success
     * msg : 查询成功!
     * result : true
     * data : [{"title":"标题","content":"测试内容","is_read":"0","notice_id":3,"times":"2018-11-18","aid":5},{"title":"测试通知2","content":"测试通知2","is_read":"0","notice_id":4,"times":"2018-11-26","aid":5}]
     */

    private String flag;
    private String msg;
    private boolean result;
    private List<DataBean> data;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * title : 标题
         * content : 测试内容
         * is_read : 0
         * notice_id : 3
         * times : 2018-11-18
         * aid : 5
         */

        private int article_id;
        private String title;
        private String content;
        private String is_read;
        private int notice_id;
        private String times;
        private String head_img;
        private String nickname;
        private int aid;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getIs_read() {
            return is_read;
        }

        public void setIs_read(String is_read) {
            this.is_read = is_read;
        }

        public int getNotice_id() {
            return notice_id;
        }

        public void setNotice_id(int notice_id) {
            this.notice_id = notice_id;
        }

        public String getTimes() {
            return times;
        }

        public void setTimes(String times) {
            this.times = times;
        }

        public int getAid() {
            return aid;
        }

        public void setAid(int aid) {
            this.aid = aid;
        }

        public String getHead_img() {
            return head_img;
        }

        public void setHead_img(String head_img) {
            this.head_img = head_img;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public int getArticle_id() {
            return article_id;
        }

        public void setArticle_id(int article_id) {
            this.article_id = article_id;
        }
    }
}
